home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************************/
- /* */
- /* This function was written by Jim Niederriter for the Lattice `C' Compiler*/
- /* on the IBM Personal Computer or compatible, running DOS 2.0. */
- /* */
- /* It requires the the system be booted with a CONFIG.SYS file on the boot */
- /* disk containing the record: DEVICE=ANSI.SYS */
- /* */
- /* In addition, the ANSI.SYS file from the DOS 2.0 disk should also be on */
- /* the boot disk. */
- /* */
- /* See Chapter 13 of the DOS 2.0 Manual for further explanation. */
- /* */
- /****************************************************************************/
-
- /* clr_line() */
- /* this funtion clears the line from the cursor position to the end */
-
- int clr_line()
- {
- cprintf("\x1B[K");
- }